package dataTree;

import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.LabelProvider;

public class TreeLabelProvider extends LabelProvider implements ILabelProvider {
	 public String getText(Object element) {
		if(element instanceof DataTreeNode) {
			DataTreeNode dt=(DataTreeNode)element;
			return dt.getTitle();
		}
		return null;
	}
}
